import request from '@/utils/request'

// 查询考试时间段列表
export function listScore_ex_exam_time(query) {
    return request({
        url: '/score/score_ex_exam_time/list',
        method: 'get',
        params: query
    })
}

// 查询考试时间段详细
export function getScore_ex_exam_time(id) {
    return request({
        url: '/score/score_ex_exam_time/' + id,
        method: 'get'
    })
}

// 新增考试时间段
export function addScore_ex_exam_time(data) {
    return request({
        url: '/score/score_ex_exam_time',
        method: 'post',
        data: data
    })
}

// 修改考试时间段
export function updateScore_ex_exam_time(data) {
    return request({
        url: '/score/score_ex_exam_time',
        method: 'put',
        data: data
    })
}

// 删除考试时间段
export function delScore_ex_exam_time(id) {
    return request({
        url: '/score/score_ex_exam_time/' + id,
        method: 'delete'
    })
}
